import Vue from 'vue'
import App from './App.vue'

// 导入练习element高频组件
// import App from './components/layout.vue'
// import App from './components/table.vue'
// import App from './components/pages.vue'
// import App from './components/form.vue'
// import App from './components/tree.vue'

import router from './router'
// 1. 导入element-ui组件库
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.config.productionTip = false

// 2. 注册组件库
Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
